package tianrun.ziguan.api.calculate.config.service.asset.experssion.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import tianrun.ziguan.api.calculate.config.dao.TAssetExpressionMapper;
import tianrun.ziguan.api.calculate.config.dto.request.TAssetExpressionVO;
import tianrun.ziguan.api.calculate.config.entity.TAssetExpression;
import tianrun.ziguan.api.calculate.config.service.asset.experssion.ITAssetExpressionService;

import java.util.Collection;
import java.util.List;

/**
 * @author zhaoqi
 */
@Service
public class TAssetExpressionServiceImpl extends ServiceImpl<TAssetExpressionMapper, TAssetExpression> implements ITAssetExpressionService {

    @Override
    public List<TAssetExpressionVO> queryListByAssetIds(Collection<Long> ids, String tableName) {
        return baseMapper.queryListByAssetIds(ids,tableName);
    }
    @Override
    public List<TAssetExpressionVO> queryListByAssetNums(Collection<String> assetNums, String tableName) {
        return baseMapper.queryListByAssetNums(assetNums,tableName);
    }
}
